/* Fund Details Modal Overlay */
.fund-details-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20000;
}

/* Modal Content Box */
.fund-details-modal-content {
    background: transparent;
    width: 900px;
    height: 570px;
    display: flex;
    gap: 0;
}

/* Sidebar Styling */
.fund-details-modal-content .account-sidebar {
    width: 200px;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid #e8e8e8;
    border-radius: 12px 0 12px 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Right Column */
.fund-details-modal-content .account-right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header Card */
.fund-details-modal-content .account-header-card {
    background: linear-gradient(90deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid #e8e8e8;
    border-left: none;
    border-radius: 0 12px 12px 0;
    padding: 16px 40px 16px 60px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    box-shadow: 8px 4px 24px rgba(0, 0, 0, 0.06);
}

/* Main Panel */
.fund-details-panel {
    flex: 1;
    padding: 32px 40px;
    margin-left: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Filter Section */
.filter-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 24px;
}

.date-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-filter label {
    font-size: 13px;
    color: #666;
    font-weight: 400;
}

.date-input-field {
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
    outline: none;
    background: #fafafa;
    transition: all 0.2s ease;
}

.date-input-field:focus {
    border-color: #333;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.filter-btn {
    padding: 10px 24px;
    background: linear-gradient(90deg, #1a1a1a 0%, #333 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.filter-btn:hover {
    background: linear-gradient(90deg, #333 0%, #444 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* Fund Records List */
.fund-records-list {
    flex: 1;
    overflow-y: auto;
}

/* Custom scrollbar */
.fund-records-list::-webkit-scrollbar {
    width: 4px;
}

.fund-records-list::-webkit-scrollbar-track {
    background: transparent;
}

.fund-records-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d0d0d0 0%, #bbb 100%);
    border-radius: 4px;
}

/* Record Item */
.fund-record-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #fafafa 0%, #ffffff 100%);
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.fund-record-item:hover {
    border-color: #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.record-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.record-type {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.record-time {
    font-size: 12px;
    color: #999;
}

.record-amount {
    font-size: 18px;
    font-weight: 600;
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
}

.record-amount.income {
    color: #2e7d32;
}

.record-amount.expense {
    color: #c62828;
}

/* Empty State */
.empty-records {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #999;
}

.empty-records-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.4;
}

.empty-records-text {
    font-size: 14px;
    color: #999;
}
